package cn.bugstack.middleware.dynamic.thread.pool.sdk.alarm;

import cn.bugstack.middleware.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolAlarmEntity;
import cn.bugstack.middleware.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;

/**
 * @description 告警通知接口
 */
public interface IAlarmNotifier {

    /**
     * 发送告警通知
     * @param threadPoolConfig 线程池配置
     * @param alarmConfig 告警配置
     * @param alarmMessage 告警消息
     */
    void notify(ThreadPoolConfigEntity threadPoolConfig, ThreadPoolAlarmEntity alarmConfig, String alarmMessage);
    
}